import React from 'react'
import { useLocation } from 'react-router-dom'
import qs from 'qs'
export default function Music() {
  const Location = useLocation()
  // console.log(Location, 'Location');
  const { user, id } = qs.parse(Location.search.split('?')[1])
  return (
    <div>
      <p>Music</p>
      <p>您的用户名:{user} 您的id:{id}</p>
    </div>

  )
}
